/* Normal card layout in one row */
.Cards {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	min-height: var(--card-height);
}
.Cards > * {
	width: var(--card-width);
	height: var(--card-height);
	flex-shrink: 1;
}
.Cards--grid {
	flex-wrap: wrap;
	gap: 0.5rem;
}
.Card {
	position: relative;
	display: flex;
	border: 0.5em ridge #53b5a8;
	border-image-source: url();
	border-image-repeat: repeat;
	border-image-slice: 6 6 6 6;
	border-image-width: 0.75rem;
	border-width: 0.75rem;
	border-width: 0.5rem;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;
}
.Card-inner {
	width: 100%;
	flex: 1;
	display: flex;
	flex-flow: column nowrap;
	background: #2a3335;
	text-align: center;
}
.Card-media {
	margin: 0;
	border-bottom: 2px solid #2a3335;
	background: #111;
}
.Card-media img {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
	object-position: center top;
}
@media (max-height: 500px) {
	.Card-media img {
		height: 70px;
	}
}
.Card-name {
	margin: 0.5rem 0;
	padding: 0.5rem 0 0.1rem;
	margin: 0;
	/* background-color: #111;
	background-image: linear-gradient(to bottom, hsla(0, 0%, 0%, 0.2), transparent); */
	user-select: none;
}
.Card-type {
	margin: -0.75rem  auto 0;
	padding: 2px 5px 4px;
	font-family: 'heliotrope_4_caps';
	font-feature-settings: 'ss10';
	font-size: 0.75rem;
	background: hsl(191.3, 33.3%, 18.8%);
	border: 1px solid hsla(0, 0%, 0%, 0.2);
	border-bottom-width: 2px;
	border-radius: 0.4em;
}
.Card[data-card-type='attack'] .Card-type {
	background: hsl(0deg 33% 19%);
}
.Card-description {
	font-size: 0.875rem;
	padding-left: 0.2em;
	padding-right: 0.2em;
	min-height: 2.5em;
	margin: 0;
}
.Card-energy {
	position: absolute;
	top: -1.5em;
	left: -0.5em;
	width: 1.3rem;
	height: 1.3rem;
	margin-left: 0;
	box-shadow: none;
	border-width: 0.15rem;
	font-size: inherit;
}
.Hand .Card[disabled] .EnergyBadge {
	color: red;
}
